#ifndef MAINTESTFRAME_H
#define MAINTESTFRAME_H

#include "common.h"
#include <wx/wx.h>
#include <list>

class TestSuite;
class wxTreeCtrl;
class wxNotebook;
using std::list;

class MainTestFrame : public wxFrame
{
public:
	MainTestFrame(
			const wxString& title, 
			const wxPoint& pos, 
			const wxSize& size);

	void AddTestSuite(TestSuite& suite);

	void OnQuit(wxCommandEvent& e);
	void OnAbout(wxCommandEvent& e);

private:
	DECLARE_EVENT_TABLE();
	list<TestSuite*> testSuites;
	wxTreeCtrl* tree;
	wxNotebook* notebook;
};

#endif // MAINTESTFRAME_H